package com.gxuwz.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘玉霜
 * @since 2017-10-27
 */
public class Storage extends Model<Storage> {

    private static final long serialVersionUID = 1L;

	private String id;
	@TableField("user_id")
	private Integer userId;
	@TableField("stock_time")
	private String stockTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getStockTime() {
		return stockTime;
	}

	public void setStockTime(String stockTime) {
		this.stockTime = stockTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Storage{" +
			", id=" + id +
			", userId=" + userId +
			", stockTime=" + stockTime +
			"}";
	}
}
